<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="<%=basePath%>js/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>js/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>css/cloudmgr.css">
<script type="text/javascript" src="<%=basePath%>js/easyui/jquery.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="<%=basePath%>js/public.js"></script>
<script type="text/javascript" src="<%=basePath%>pages/system/user.js"></script>
</head>
<body scroll="yes" style="height:545px">
	<div id="tb" style="padding:2px 5px;">
		用户名: <input id="search_domain" class="easyui-combobox" style="width:130px;"/>
		<a class="easyui-linkbutton search-button" id="search">查询</a> 
		<a class="easyui-linkbutton operate-button" id="delete">删除</a>
		<a class="easyui-linkbutton operate-button" id="add">增加</a>
	</div>
	<table id="datagrid" class="easyui-datagrid"
		data-options="rownumbers : true,title:'',
			singleSelect : false,
			toolbar : '#tb',
			loadMsg : '数据加载中,请稍后...',
			url : '<%=basePath%>user/queryUserList',
			fit:true,
			fitColumns:true,
			pagination:true,
			pageSize: 100,
			pageList : [100, 200],
			method : 'post'">
		<thead>
		<tr>
			<th data-options="field:'userID',width:80">ID</th>
			<th data-options="field:'userCode',width:120">用户编码</th>
			<th data-options="field:'userName',width:120">用户名</th>
			<th data-options="field:'roleName',width:120">角色</th>
		</tr>
		</thead>
	</table>
	
	<div id="edit-window">
		<div style="padding: 10px 60px 20px 60px;">
			<form id="ff" method="post">
				<table cellpadding="5">
					<tr>
						<td>用户编码:</td>
							<td><input class="easyui-textbox" style="width:190px" data-options="required:true"
							id="edit_usercode" name="userCode" ></input></td>
					</tr>
					<tr>
						<td>用户名:</td>
						<td><input class="easyui-textbox" style="width:190px" id="edit_username" name="userName" ></input></td>
					</tr>
					<tr>
						<td>密码:</td>
						<td><input class="easyui-textbox" style="width:190px" id="edit_password" name="password" ></input></td>
					</tr>
					</table>
				<div style="text-align:center;padding:5px;">
					<a href="javascript:void(0)" class="easyui-linkbutton form-button" id="submitForm">提交</a> 
					<a href="javascript:void(0)" class="easyui-linkbutton form-button" id="clearForm">清除</a>
				</div>
			</form>
		</div>
	</div>
</body>